package com.wg.web_app.domin;

import com.wg.web_app.dao.table.TableGU;

public class TableGUBuilder {
	private Integer gid,uid,status;
	
	public TableGU build(){
		TableGU gu  = new TableGU();
		gu.setGroupId(gid);
		gu.setUserId(uid);
		gu.setStatus(status);
		return gu;
	}
	
	public TableGUBuilder gid(int groupId){
		this.gid = groupId;
		return this;
	}
	
	public TableGUBuilder uid(int userId){
		this.uid = userId;
		return this;
	}
	public TableGUBuilder status(int status){
		this.status = status;
		return this;
	}
}
